﻿
<!DOCTYPE html >
<html >
<head>
<meta charset="utf-8">

<title>吾酷羽协</title>
{include file="common/header" /}
</head>
<body>
	<div class="container margin-top">
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
				<div class="row">
					<div class="col-md-5 col-sm-9 col-xs-9 margin">
						<img src="{$Think.STATIC_PATH}/image/yx.jpg" height="120px" width="100%">
					</div>
					<div class="col-md-5"></div>
					<div class="col-md-offset-5 col-md-2 col-sm-3 col-xs-3 margin">
						后台管理系统|{$admin}							
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
				<nav class="navbar navbar-default" role="navigation" style="margin:0;padding: 0">
				    <div class="container-fluid"> 
				    <div class="navbar-header">
				        <button type="button" class="navbar-toggle" data-toggle="collapse"
				                data-target="#example-navbar-collapse">
				            <span class="sr-only">切换导航</span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				        </button>
				        <a class="navbar-brand" href="{:url('Admin/index')}">后台管理</a>
				    </div>
				    <div class="collapse navbar-collapse" id="example-navbar-collapse">
				        <ul class="nav navbar-nav">
				            <li><a href="{:url('Admin/match')}">最新赛况</a></li>
				            <li><a href="{:url('Admin/active')}">活动预告</a></li>
				            <li><a href="{:url('Admin/user')}">用户管理</a></li>
				            <li><a href="{:url('Admin/alluser')}">所有用户</a></li>
				            <li><a href="{:url('Admin/common')}">当前拼场</a></li>
				        </ul>
				    </div>
				    </div>
				</nav>
			</div>
		</div>
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
					<input type="text" style="margin: 10px" placeholder="输入学号或姓名查询" name="xh" id="admin_select">
				<div>
				<li class="list-group-item	active" id="admin_main">
					<div class="row">
						<div class="col-md-1">
							姓名
						</div>
						<div class="col-md-2">
							微信
						</div>
						<div class="col-md-2">
							qq
						</div>
						<div class="col-md-2">
							电话
						</div>
						<div class="col-md-3">
							邮箱
						</div>
					</div>
			    </li>
			    {volist name="user" id="usr"}
			    <li class="list-group-item admin_message">
			    	<div class="row">
						<div class="col-md-1">
							{$usr.xm}
						</div>
						<div class="col-md-2">
							{$usr.wx}	
						</div>
						<div class="col-md-2">
							{$usr.qq}
						</div>
						<div class="col-md-2">
							{$usr.dh}
						</div>
						<div class="col-md-3">
							{$usr.email}
						</div>
						<a href="{:url('Admin/delete')}?id={$usr.uid}" class="badge">
				        	删除
				        </a>
				        {if $usr.forbid==0}
				        <a href="{:url('Admin/forbid')}?id={$usr.uid}" class="badge">
				        	禁止登录
				        </a>
				        {else/}
				        <a href="{:url('Admin/forbid')}?id={$usr.uid}" class="badge">
				        	恢复登录
				        </a>
				        {/if}
					</div>			        
			    </li>
			    {/volist}
				</div>
			</div>
		</div>
		<div class="row" id="admin_page">
			<div class="col-md-offset-3">
				{$user}
			</div>
		</div>
	</div>
	<div class="home-fixed">
		<img src="{$Think.STATIC_PATH}/image/gzh.jpg" alt="" width="100px" height="100px">
	</div>
</body>
</html>
